package com.datax.web.webbase;

public class ProcessResult {

	public static final String ERROR = "ERROR";
	  public static final String SUCCESS = "SUCCESS";
	  public static final String SHOW_SQL = "SHOW_SQL";
	  public static final String WARN = "WARN";
	  private String resultStat;
	  private String mess;
	  private String callBack;
	  private Object data;

	  public ProcessResult()
	  {
	    this.resultStat = "SUCCESS";
	  }

	  public ProcessResult(String resultStat, String mess) {
	    this.resultStat = resultStat;
	    this.mess = mess;
	  }

	  public ProcessResult(String resultStat) {
	    this.resultStat = resultStat;
	  }

	  public ProcessResult(String resultStat, String mess, Object data) {
	    this.resultStat = resultStat;
	    this.mess = mess;
	    this.data = data;
	  }

	  public String getResultStat() {
	    return this.resultStat;
	  }

	  public void setResultStat(String resultStat)
	  {
	    this.resultStat = resultStat;
	  }

	  public String getMess() {
	    return this.mess;
	  }

	  public void setMess(String mess) {
	    this.mess = mess;
	  }

	  public String getCallBack() {
	    return this.callBack;
	  }

	  public void setCallBack(String callBack) {
	    this.callBack = callBack;
	  }

	  public Object getData() {
	    return this.data;
	  }

	  public void setData(Object data) {
	    this.data = data;
	  }
}
